//
//  ViewController.m
//  160804-获取通讯录信息
//
//  Created by Dennis Gao on 16/8/4.
//  Copyright © 2016年 Dennis Gao. All rights reserved.
//

#import "ViewController.h"
#import "PhoneBookTool.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    [PhoneBookTool getPhoneNumberList:^(NSArray *AddressBookArr) {
        NSLog(@"%@ ---- ",AddressBookArr);
    }];
    [PhoneBookTool getPhoneNumberAndName:^(NSArray *AddressBookArr) {
        NSLog(@"姓名 电话 ---- %@",AddressBookArr);
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
